package cn.shop.admin.component.withdraw.impl;

import cn.shop.admin.component.withdraw.WithdrawStrategy;
import cn.shop.admin.req.BatchWithdrawReq;
import org.springframework.stereotype.Component;

/**
 * 第三方结算
 *
 * @author jzw
 * @since 2021-11-11 10:11
 */
@Component
public class ThirdPartyPaymentStrategy implements WithdrawStrategy {

	/**
	 * 获取当前提现类型标识
	 *
	 * @return 提现类型标识
	 * @author jzw
	 * @since 2021/11/11 10:36
	 */
	@Override
	public int getType() {
		return 3;
	}

	/**
	 * 订单结算
	 *
	 * @param orderIds 订单id
	 * @return
	 * @author jzw
	 * @since 2021/11/11 10:09
	 */
	@Override
	public boolean settlement(BatchWithdrawReq orderIds) {
		//todo: 进行结算
		return true;
	}

}
